package cn.iot.sys.service;

import cn.iot.common.dto.ResultMsg;
import cn.iot.sys.entity.SysHostel;

import java.util.List;
import java.util.Map;

public interface SysHostelService {
    public ResultMsg getSysHostelByDormitoryId(int dormitoryId);
    public ResultMsg getSysHostelList(Map<String,Object> map);
    public ResultMsg getSysHostelCount(String locationName);
    public ResultMsg addSysHostel(SysHostel sysHostel);
    public ResultMsg updSysHostelById(SysHostel sysHostel);
    public ResultMsg delSysHostelById(int id);
    public ResultMsg getSysHostelAll();
}
